<?php



/*
 *
 *
 * 'i'  => '[0-9]++',
 'a'  => '[0-9A-Za-z]++',
 'h'  => '[0-9A-Fa-f]++',
 '*'  => '.+?',
 '**' => '.++',
 ''   => '[^/\.]++'
 $router->map('GET|POST','/', 'home#init', 'init');
 $router->map('GET','/users/', array('c' => 'UserController', 'a' => 'ListAction'));
 $router->map('GET','/users/[i:id]', 'portada/inicio');
 $router->map('POST','/users/[i:id]/[delete|update:action]', 'usersController#doAction', 'users_do');
 */
// match current request


$router = new Router();
$router->setBasePath('/test3');
$router->map('GET','/', 'portada@inicio');
$router->map('GET','/users/[int:codigo_equipo]/[string:competicion]','portada@inicio');
$router->map('GET','/[string_idioma:idioma]/competicio/[int:codigo_equipo]/categoria/[string:competicion]/[string:cod_competicion]','portada@prueba');

$router->map('GET','/test', 'test@inicio');





?>